/**   
 * Copyright © 2016 公司名. All rights reserved.
 * 
 * @Title: UserLoginLogVo.java 
 * @Prject: LianniuWeb
 * @Package: com.lianniu.web.baseService.user.model
 * @Description: 用户包
 * @author: lzz   
 * @date: 2016年8月4日 上午9:23:18 
 * @version: V1.0   
 */
package com.lianniu.web.baseService.user.model;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/** 
 * @ClassName: UserLoginLogVo 
 * @Description: 用户登陆记录
 * @author: lzz
 * @date: 2016年8月4日 上午9:23:18  
 */
public class UserLoginLogVo implements Serializable{
    /**
     * @fieldName: serialVersionUID
     * @fieldType: long
     * @Description: TODO
     * @date: 2016年8月4日 上午9:27:28 
     */
    private static final long serialVersionUID = -3747272705928815454L;
    private Long id;  //主键
    private Long userId;  //用户ID
    private String staffId; //员工ID
    private String loginIp;  //用户登陆IP
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date logInTime;  //登陆时间
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date logOutTime;  //登出时间
    private String userSource;  //用户登陆来源（1:PC2:APP3:微信）
    private String addUser;  //添加人
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date addTime;  //添加时间

    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    /**
     * @return the id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return the userId
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * @param userId the userId to set
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * @return the loginIp
     */
    public String getLoginIp() {
        return loginIp;
    }

    /**
     * @param loginIp the loginIp to set
     */
    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

   

    /**
     * @return the logInTime
     */
    public Date getLogInTime() {
        return logInTime;
    }

    /**
     * @param logInTime the logInTime to set
     */
    public void setLogInTime(Date logInTime) {
        this.logInTime = logInTime;
    }

    /**
     * @return the serialversionuid
     */
    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    /**
     * @return the logOutTime
     */
    public Date getLogOutTime() {
        return logOutTime;
    }

    /**
     * @param logOutTime the logOutTime to set
     */
    public void setLogOutTime(Date logOutTime) {
        this.logOutTime = logOutTime;
    }

    /**
     * @return the userSource
     */
    public String getUserSource() {
        return userSource;
    }

    /**
     * @param userSource the userSource to set
     */
    public void setUserSource(String userSource) {
        this.userSource = userSource;
    }

    /**
     * @return the addUser
     */
    public String getAddUser() {
        return addUser;
    }

    /**
     * @param addUser the addUser to set
     */
    public void setAddUser(String addUser) {
        this.addUser = addUser;
    }

    /**
     * @return the addTime
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * @param addTime the addTime to set
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
    
    
}